/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Project2.cs342.project1.mathNotebook.data;



import java.math.BigInteger;
import java.security.*;


/**
 *
 * @author Rick
 */
public class User {
    
    private String username;
    private String password;
    private String desDefaultKey;
    private byte[] rsaPublicKey;
    private byte[] rsaPrivateKey;
    

    public User(){}

     /**
     * Returns the default DES key.
     *
     * @return Default DES key as a String
     */
    public String getDesDefaultKey() {
        return desDefaultKey;
    }

     /**
     * Sets the encrypted DES key.
     *
     * @param Default DES key as a String
     */
    public void setDesDefaultKey(String desDefaultKey) {
        this.desDefaultKey = desDefaultKey;
    }

    /**
     * Gets the User's password
     *
     * @return User's password as a string
     */
    public String getPassword() {
        return password;
    }

    /**
     * Sets the User's password
     *
     * @param User's password as a string
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * Gets the User's Private key used for RSA encryption
     *
     * @return User's Private RSA key as a byte[] array
     */
    public byte[] getRsaPrivateKey() {
        return rsaPrivateKey;
    }

    /**
     * Sets the User's Private key used for RSA encryption
     *
     * @param User's Private RSA key as a byte[] array
     */
    public void setRsaPrivateKey(byte[] rsaPrivateKey) {
        this.rsaPrivateKey = rsaPrivateKey;
    }

    /**
     * Gets the User's Public key used for RSA encryption
     *
     * @return User's Public RSA key as a byte[] array
     */
    public byte[] getRsaPublicKey() {
        return rsaPublicKey;
    }

    /**
     * Sets the User's Public key used for RSA encryption
     *
     * @param User's Public RSA key as a byte[] array
     */
    public void setRsaPublicKey(byte[] rsaPublicKey) {
        this.rsaPublicKey = rsaPublicKey;
    }

    /**
     * Gets the User's username.
     *
     * @return User's username as a String
     */
    public String getUsername() {
        return username;
    }

    /**
     * Sets the User's username.
     *
     * @param User's username as a String
     */
    public void setUsername(String username) {
        this.username = username;
    }



}
